package cn.tedu.entity;

public class Student {
    private int id;
    private String name;
    private String department;
    private int grade;
    private int student;

    public Student(int id, String name, String department, int grade, int student) {
        this.id = id;
        this.name = name;
        this.department = department;
        this.grade = grade;
        this.student = student;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getStudent() {
        return student;
    }

    public void setStudent(int student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", department='" + department + '\'' +
                ", grade=" + grade +
                ", student=" + student +
                '}';
    }
}
